Liver failure occurs when large parts of the liver become damaged beyond repair and the liver is no longer able to function. Liver failure is a life-threatening condition that demands urgent medical care. Most often, liver failure occurs gradually and over many years. However, a more rare condition known as acute liver failure occurs rapidly (in as little as 48 hours) and can be difficult to detect initially.